﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

/// <summary>
/// Summary description for Util
/// </summary>
public class Util
{
	public Util()
	{
	}

    public List<Object> Cargar_ComboBox<T>(List<T> Lista, String Texto, String Valor) where T : class, new()
    {
        List<Object> lstObj = new List<Object>();
        Object[] obj = new Object[2];
        obj[0] = Valor;
        obj[1] = Texto;
        lstObj.Add(obj);

        for (int i = 0; i < Lista.Count(); i++)
        {
            lstObj.Add(Lista[i]);
        }

        return lstObj;
    }

    public interface ITest
    {

        string Name { get; }
    }

}